<?php
use Symfony\Components\Console\Input\InputInterface,
    Symfony\Components\Console\Output\OutputInterface,
    Doctrine\ORM\Tools\SchemaTool,
    Doctrine\ORM\Tools\Console\Command\SchemaTool\UpdateCommand;

class UpdateCommandEx extends UpdateCommand {
    private $_denied = array (
      //  'Entities\Article',
      //  'Entities\Profile',
      //  'Entities\Rss'
    );
    
    protected function executeSchemaCommand(InputInterface $input, OutputInterface $output, SchemaTool $schemaTool, array $metadatas) {

        foreach ($metadatas as $key => $class) {
            if (in_array($class->reflClass->name, $this->_denied)) {
                $output->write($class->reflClass->name . " skipped" . PHP_EOL);
                unset($metadatas[$key]);
            }
        }

        parent::executeSchemaCommand($input, $output, $schemaTool, $metadatas);
    }
}